ImageItem

Section: ET++ class description (n)
Updated: automatically Fri Mar 15 14:10:52 1991
Index Return to Main Contents
 

NAME

ImageItem - displays a graphic image, a bitmap  

DESCRIPTION

The ImageItem displays a graphic image, called bitmap. Clients can use existing bitmaps or supply the image data and the size. In addition, the baseline of the bitmap can be specified. For example, if the bitmap contains text, then the position of the baseline of that text should be specified. See the method ImageItem for some examples how to create bitmaps and ImageItems.


classes are never derived from ImageItem.
class ImageItem is sometimes reused directly.
class ImageItem contains 13 methods.

owner of class:
nobody.
baseclasses:
VObject
flags:
VObjFlags

 

INSTANCE VARIABLES

base (protected short)
the baseline of the ImageItem. It is specified in the constructor or set with the method SetBase. base is returned by the method Base only if it is >0, otherwise the height of the bitmap is returned.

bmp (protected Bitmap *)
the bitmap to be displayed. It can be accessed with the method GetBitmap and changed with the method SetBitmap. bmp must not be NULL.

deleteBitmap (protected bool)
This flag is set if the constructor creates the bitmap. The destructor will delete the bitmap then. If the client creates its own bitmap, this flag is reset and the destructor will not delete the bitmap.

 

INSTANCE METHOD LIST

client interface
GetBitmap
ImageItem
SetBase
SetBitmap

implementation
Base
DoObserve
Draw
GetMinSize
PrintOn
ReadFrom
~ImageItem

 

CATEGORIES

Simple Dialog Items

 

FILES

declaration:
ImageItem.h

 

HISTORY

joe@csesbg.at  Tue Sep 10 15:00 1991 MET DST

man2html: unable to open or read file ../mann/ImageItem::Base.n
man2html: unable to open or read file ../mann/ImageItem::DoObserve.n
man2html: unable to open or read file ../mann/ImageItem::Draw.n
man2html: unable to open or read file ../mann/ImageItem::GetBitmap.n
man2html: unable to open or read file ../mann/ImageItem::GetMinSize.n
man2html: unable to open or read file ../mann/ImageItem::ImageItem.n
man2html: unable to open or read file ../mann/ImageItem::PrintOn.n
man2html: unable to open or read file ../mann/ImageItem::ReadFrom.n
man2html: unable to open or read file ../mann/ImageItem::SetBase.n
man2html: unable to open or read file ../mann/ImageItem::SetBitmap.n
man2html: unable to open or read file ../mann/ImageItem::~ImageItem.n


 

Index

NAME
DESCRIPTION
INSTANCE VARIABLES
INSTANCE METHOD LIST
CATEGORIES
FILES
HISTORY

This document was created by man2html, using the manual pages.
Time: 00:40:26 GMT, March 30, 2022